﻿<Window
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:WpfViewers="clr-namespace:Microsoft.Samples.Kinect.WpfViewers;assembly=Microsoft.Samples.Kinect.WpfViewers" x:Class="KinBot_Controller_V2.MainWindow"
        Title="MainWindow" Height="720" Width="1280">
    <Grid Background="Black" >
        <Slider x:Name="leftSlider" HorizontalAlignment="Center" Margin="36,154,1155.6,100.4"    Width="82" Orientation="Vertical"  Maximum="230" Minimum="60" LargeChange="0" Value="60"/>
        <Slider x:Name="rtSlider" HorizontalAlignment="Center" Margin="927,154,264.6,100.4"   Width="82" Orientation="Vertical" Maximum="230" Minimum="60" Value="60"/>
        <WebBrowser x:Name="IPCam" Source="http://192.168.2.201:8080/jsfs.html" Height="480" Width="720 " Margin="148,159,405.6,51.4" Opacity="0.5" Navigated="IPCam_Navigated"   />
        <Grid HorizontalAlignment="Center" Height="94" VerticalAlignment="Top" Width="1274" Background="#FF535353" Margin="0,1,-0.4,0">
            <Border BorderBrush="Black" BorderThickness="1,0,1,0" HorizontalAlignment="Center" Height="100" Margin="635,-6,240,0" VerticalAlignment="Top" Width="399">
                <TextBlock x:Name="alert" HorizontalAlignment="Center" Height="100" Margin="-0.8,0,18.6,0" TextWrapping="Wrap" VerticalAlignment="Center" TextAlignment="Center" Width="379" Padding="0,40,0,0" FontSize="30" FontFamily="Segoe WP" Foreground="White" TextDecorations="{x:Null}"><Run Text="RESPONSE TEXT"/></TextBlock>
            </Border>
            <Border BorderBrush="Black" BorderThickness="1,0,0,0" HorizontalAlignment="Center" Height="94" Margin="537,0,644,0" VerticalAlignment="Top" Width="93">
                <Image x:Name="light" HorizontalAlignment="Center" Height="69" VerticalAlignment="Top" Width="73" Source="Images/Light-Bulb.png" Margin="9.2,14,9.8,0"/>
            </Border>
            <Border BorderBrush="Black" BorderThickness="0" HorizontalAlignment="Center" Height="94" Margin="355,-6,760,0" VerticalAlignment="Top" Width="159">
                <Image Name="cameraLens" HorizontalAlignment="Center" Height="68" Margin="49,26,44.2,0" VerticalAlignment="Top" Width="66"  Stretch="Fill" Source="Images/camera-lens.png"  />

            </Border>
            <Border BorderBrush="Black" BorderThickness="1,0,1,0" HorizontalAlignment="Center" Height="94" Margin="320,0,887,0" VerticalAlignment="Top" Width="67"/>
            <Image Name="logo" HorizontalAlignment="Center" Height="94" VerticalAlignment="Top" Width="228" Source="Images/kin_logo.png" Margin="0,0,1046,0"/>
            <Image Name="power" HorizontalAlignment="Center" Height="68" Margin="228,20,974,0" VerticalAlignment="Top" Width="72" Source="Images/power.png"/>
            <Image Name="mic" HorizontalAlignment="Center" Height="68" Margin="320,20,879,0" VerticalAlignment="Top" Width="75" Source="Images/micOff.png" Stretch="Fill"/>
            <Image Name="cameraUp" HorizontalAlignment="Center" Height="49" Margin="467,0,749,0" VerticalAlignment="Top" Width="58" Source="Images/upArrow.png" Stretch="Fill" />
            <Image Name="cameraDown" HorizontalAlignment="Center" Height="49" Margin="468,45,748,0" VerticalAlignment="Top" Width="58" Source="Images/downArrow.png" Stretch="Fill"/>
            <TextBlock Name="alert1"  HorizontalAlignment="Center" Height="94" Margin="1034,0,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="240" Foreground="Red"/>
        </Grid>
        <WpfViewers:KinectSkeletonViewer HorizontalAlignment="Center" Height="175" Margin="1005,464,37.6,0" VerticalAlignment="Top" Width="231" Kinect="{Binding ElementName=kinectSensorChooser1, Path=Kinect}"/>
        <WpfViewers:KinectSensorChooser Name="kinectSensorChooser1" HorizontalAlignment="Center" Margin="355,270,590.6,0" VerticalAlignment="Top" KinectSensorChanged="KinectSensorChooser_KinectSensorChanged_1"/>
        <WpfViewers:KinectColorViewer HorizontalAlignment="Center" Height="180" Margin="1024,159,57.6,0" VerticalAlignment="Top" Width="192"  Kinect="{Binding ElementName=kinectSensorChooser1, Path=Kinect}"/>
        <WpfViewers:KinectAudioViewer HorizontalAlignment="Center" Margin="1008,381,34.6,0" VerticalAlignment="Top" Height="70" Width="231" Kinect="{Binding ElementName=kinectSensorChooser1, Path=Kinect}"/>
       
        <WebBrowser Name="ipCamControll" Source="http://192.168.2.201:8080/remote.html" HorizontalAlignment="Center" Height="46" Margin="433,639,629.6,0" VerticalAlignment="Top" Width="211"/>
        <WebBrowser Name="camPic" Visibility="Collapsed" HorizontalAlignment="Center" Height="485" Margin="123,154,405.6,0" VerticalAlignment="Top" Width="745" LoadCompleted="camPic_LoadCompleted"/>


    </Grid>
</Window>
